From: Keir Fraser Date: Mon, 19 Apr 2010 07:59:14 +0000 (+0100) Subject: xend: support 'ioemu' subtype in tap protocol specification X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~12348 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=04dffa0be959268a5165b59c389656c8e33b6598;p=xen.git xend: support 'ioemu' subtype in tap protocol specification blktapctrl supports both 'tapdisk' and 'ioemu' subtypes in tap protocol specification. Support the 'ioemu' subtype in xend BlktapController as well. Signed-off-by: Jim Fehlig --- diff --git a/tools/python/xen/xend/server/BlktapController.py b/tools/python/xen/xend/server/BlktapController.py index 48cd13e152..a34a2b82d7 100644 --- a/tools/python/xen/xend/server/BlktapController.py +++ b/tools/python/xen/xend/server/BlktapController.py @@ -189,7 +189,7 @@ class Blktap2Controller(BlktapController): blktap2_installed=1; if typ in ('tap'): - if subtyp in ('tapdisk'): + if subtyp in ('tapdisk', 'ioemu'): if params not in blktap2_disk_types or not blktap2_installed: # pass this device off to BlktapController log.warn('WARNING: using deprecated blktap module')